<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>
<ul style="color: blue; font-size: 20px">
    {% for x in data %}
        {% if x > 5 %}
            <li>{{ x }}</li>
        {% endif %}
    {% endfor %}
</ul>

{{ val.upper }}
</body>
</html>